const Mysql = require('node-mysql-promise');

const util = require('./util');
const config = require('./config');

const logger = util.logger;

module.exports = {
  getConn (){
    return Mysql.createConnection(config.mysql);
  }
}